package xdu.ble.user.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author com.alibaba.lizhen
 * @Date 2021/1/14 3:04 下午
 * @Version 1.0
 * @Description
 */
@Data
@Component
@ConfigurationProperties("ble.admin")
public class YmlConfig {



    private String cookieName;

//    private int expire;

    private int cookieMaxAge;

    //白名单
    private List<String> allowPaths;

    private String domain;

    //加密token的盐
    private String tokenSalt;

    private boolean aliYunEvn;

}
